#include <modules\modules.hpp>

#ifndef execNow
#define execNow call compile preprocessfilelinenumbers
#endif

#ifdef BTC_REVIVE
"BTC Revive" call mso_core_fnc_initStat;
execNow "base\support\modules\btc_revive\=BTC=_revive_init.sqf";
#endif

#ifdef RMM_CAS
"Close Air Support" call mso_core_fnc_initStat;
execNow "base\support\modules\rmm_cas\main.sqf";
#endif

#ifdef RMM_CASEVAC
"CASEVAC" call mso_core_fnc_initStat;
execNow "base\support\modules\rmm_casevac\main.sqf";
#endif

#ifdef RMM_JIPMARKERS
"JIP Markers" call mso_core_fnc_initStat;
execNow "base\support\modules\rmm_jipmarkers\main.sqf";
#endif

#ifdef R3F_LOGISTICS
"R3F Logistics" call mso_core_fnc_initStat;
execNow "base\support\modules\R3F_logistics\init.sqf";
#endif

#ifdef RMM_RECRUITMENT
"Recruitment" call mso_core_fnc_initStat;
execNow "base\support\modules\rmm_recruitment\main.sqf";
#endif

#ifdef RMM_TASKS
"JIP Tasks" call mso_core_fnc_initStat;
execNow "base\support\modules\rmm_tasks\main.sqf";	
#endif

#ifdef RMM_TYRES
"Tyre Changing" call mso_core_fnc_initStat;
execNow "base\support\modules\rmm_tyres\main.sqf";
#endif

#ifdef CREWINFO
if(isNil "EnableCrewinfo") then {enablecrewinfo = 1;};
if (enablecrewinfo == 1) then {
	"Crew Info" call mso_core_fnc_initStat;
	fnc_crewInfo = compile preprocessfilelinenumbers "base\support\modules\crewinfo\main.sqf";
	crewStatus = [] spawn fnc_crewInfo;
};
#endif

#ifdef PXS_SATCOM_OA
"PXS SATCOMs" call mso_core_fnc_initStat;
["ON"] execVM "base\support\modules\pxs_satcom_oa\init_satellite.sqf";
#endif

#ifdef NORRN_REVIVE
[] execVM "base\support\modules\norrn_revive\main.sqf";
#endif

#ifdef HELILIFT
[] execVM "base\support\modules\helilift\main.sqf";
#endif

#ifdef TYR_FLIPPABLE
"Flippable Vehicles" call mso_core_fnc_initStat;
execNow "base\support\modules\tyr_flippable\main.sqf";
#endif

#ifdef TYR_RESPAWNSCREEN
"Tyrghen Respawn Screen" call mso_core_fnc_initStat;
execNow "base\support\modules\tyr_respawnscreen\main.sqf";
#endif

#ifdef TONIC_VAS
"Tonic Virtual Ammobox System" call mso_core_fnc_initStat;
execNow "base\support\modules\tonic_vas\main.sqf";
#endif